package com.xiaotao.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

@NoArgsConstructor
@Data
@AllArgsConstructor
@ToString
public class ChatMessage {
    private String roomId;      // 房间ID
    private String userId;      // 发送用户ID
    private String content;     // 消息内容
    private LocalDateTime time; // 发送时间
    private String type;        // 消息类型


}
